package com.sand.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sand.dto.Owner.ExecutionDelete;
import com.sand.dto.Owner.MerchantOrOwner;
import com.sand.entity.buy.execution;

import java.util.List;

public interface ExecutionService extends IService<execution> {

    /**
     *添加方案预执行
     */
    Integer add(execution execution);



    /**
     *查查询与该商家.客户相关的方案预执行
     */
    List<execution> selectById(MerchantOrOwner merchantOrOwner);

    /**
     * 修改方案预执行
     * @param execution
     * @return
     */
    Integer upd(execution execution);

    /**
     *删除方案预执行
     */
    Integer down(ExecutionDelete executionDelete);
}
